Yoast\WP\SEO\Integrations\Blocks\Structured_Data_Blocks S

Total Complexity 42
Dependencies 2
Dependents 1
Total lines 357
Lines of code 200
Logical lines of code 81
Comment lines 111
Methods 11
Properties 5

Methods 11

Method Rating Maintainability Complexity Lines of code
optimize_images()
A
41 13 55
add_images_from_attributes_to_used_cache()
A
53 10 23
register_blocks()
S
43 1 63
maybe_save_used_caches()
S
66 4 8
attachment_src_to_id()
S
61 3 13
get_cache_for_post()
S
63 3 11
enqueue_block_editor_assets()
S
69 2 7
optimize_faq_images()
S
70 2 6
optimize_how_to_images()
S
70 2 6
__construct()
S
77 1 4
register_hooks()
S
75 1 4